package com.train.mgr.modules.biz.mapper;

import com.train.mgr.modules.biz.entity.CourseStuGroup;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 课程学员分组表 Mapper 接口
 * </p>
 *
 * @author cxg
 * @date 2025-10-02
 */
public interface CourseStuGroupMapper extends BaseMapper<CourseStuGroup> {

    String selectGroupNameByUserId(@Param("courseId") Long courseId,@Param("userId") Long userId);

    CourseStuGroup selectGroupIdByUser(@Param("courseId") Long courseId,@Param("userId") Long userId);
}
